export const searchList = [
  {
    type: 'input',
    name: '教师姓名',
    field: 'teacherName',
  },
]

export const listColumns = [
  {
    title: '教师姓名',
    key: 'teacherName',
  },
  {
    title: '所在部门',
    key: 'deptName',
  },
  {
    title: '评价周期',
    key: 'evaluationPeriod',
  },
  {
    title: '综合得分',
    key: 'totalScore',
  },
  {
    title: '自评时间',
    key: 'createTime',
  }
]

export const actionArr = [
  {
    action: 'look',
    value: '查看',
  },
  {
    action: 'edit',
    value: '编辑',
  },
  {
    action: 'process',
    value: '办理',
  },
  {
    action: 'del',
    value: '删除',
  },
]
export const btnList = [
  {
    action: 'add',
    value: '新增',
    auth: ''
  }
];
export const rules = {
  teacherName: [
    { required: true, message: '请输入教师名称', trigger: 'blur' },
  ],
  evaluationPeriod: [
    { required: true, message: '请输入评价周期', trigger: 'change' },
  ],
  deptId: [
    { required: true, message: '请输入所在部门', trigger: 'change' },
  ],
  scoreA: [
    { required: true, message: '请输入实训教学设计', trigger: 'change' },
  ],
  scoreB: [
    { required: true, message: '请输入教学目标达成度', trigger: 'change' },
  ],
  scoreC: [
    { required: true, message: '请输入作业批改质量', trigger: 'change' },
  ],
  scoreD: [
    { required: true, message: '请输入师德师风表率', trigger: 'change' },
  ],
  scoreE: [
    { required: true, message: '请输入学生课堂表现', trigger: 'change' },
  ],
  scoreF: [
    { required: true, message: '请输入技能证书考取', trigger: 'change' },
  ],
  scoreG: [
    { required: true, message: '请输入家长沟通频率', trigger: 'change' },
  ],
  scoreH: [
    { required: true, message: '请输入教学资源开发', trigger: 'change' },
  ],
  scoreI: [
    { required: true, message: '请输入企业实践参与', trigger: 'change' },
  ],
  scoreJ: [
    { required: true, message: '请输入教研活动参与', trigger: 'change' },
  ],
  totalScore: [
    { required: true, message: '请输入综合评分', trigger: 'change' },
  ]
}